package Character_Stream;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class IO_Demo09 {
    public static void main(String[] args) {
//        字符流完成 写入操作
        try(Writer writer = new FileWriter("./text4.txt",true)){
            String s = "你好呀";
            writer.write(s);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
}
